package cn.afterturn.easypdf.enums;

import java.awt.*;

/**
 * pdf 段落模式
 *
 * @author JueYue
 * @version 5.0
 * @DATE: 2024/8/31
 */
public enum PdfParagraph {

    BASE("基础", Color.WHITE, 12, false),

    INDENT("缩进", Color.WHITE, 12, true),

    SHADE_BLOCK("阴影块", Color.LIGHT_GRAY, 12, false),

    SHADE_BLOCK_INDENT("阴影块加缩进", Color.LIGHT_GRAY, 12, true);

    private String title;
    private Color color;
    private int fontSize;
    private boolean isIndent;

    PdfParagraph(String title, Color color, int fontSize, boolean isIndent) {
        this.title = title;
        this.color = color;
        this.fontSize = fontSize;
        this.isIndent = isIndent;
    }


    public String getTitle() {
        return title;
    }

    public Color getColor() {
        return color;
    }

    public int getFontSize() {
        return fontSize;
    }

    public boolean isIndent() {
        return isIndent;
    }
}
